home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ MSO2K Options 1.xpl
< prev
next >
Wrap
Text File
|
1999-10-17
|
2KB
|
90 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="4"
"UIPATH"="Program Options\Office 2000"
"NAME"="Advanced"
"VERSION"="1.05"
"LANGUAGE"="VBScript"
"TEXT 1"="Use default Windows font instead of "Tahoma""
"TEXT 2"="Track document editing time"
"TEXT 3"="Enable Clipart Gallery Online"
"TEXT 4"="Enable automatic appearance of "Clipboard" toolbar"
"DESCRIPTION 1"="Some options for Microsoft Office 2000"
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
sV1="HKCU\Software\Policies\Microsoft\Office\9.0\Common\General\UseOfficeUIFont" 'DW
sV2="HKCU\Software\Policies\Microsoft\Office\9.0\Common\General\NoTrack" 'DW
sV3="HKCU\Software\Policies\Microsoft\Office\9.0\ClipGallery\DisableClipsOnline" 'DW
sV4="HKCU\Software\Microsoft\Office\9.0\Common\General\AcbControl" 'DW 1=off, 0=on
sPCheck="HKCU\Software\Microsoft\Office\9.0\"
Sub Plugin_Initialize
if RegPathExists(sPCheck) then
i=RegReadValue(sV1)
if i=0 and IsEmpty(i)=false then SetUiElement 1,true
i=RegReadValue(sV2)
if i<>1 then SetUiElement 2,true
i=RegReadValue(sV3)
if i<>1 then SetUiElement 3,true
i=RegReadValue(sV4)
if i<>1 then SetUiElement 4,true
else
disable()
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if GetUIElement(1)=true then
i=0
else
i=1
end if
Call RegWriteValue(sV1,i,2)
if GetUIElement(2)=true then
i=0
else
i=1
end if
Call RegWriteValue(sV2,i,2)
if GetUIElement(3)=true then
i=0
else
i=1
end if
Call RegWriteValue(sV3,i,2)
if GetUIElement(4)=true then
i=0
else
i=1
end if
Call RegWriteValue(sV4,i,2)
Call Logoff()
End Sub
Sub Plugin_Terminate
End Sub